<template>
  <div class="subpage">
    <my-head title="登录" :back="true" :login="true"></my-head>

    <van-tabs v-model="active" color="#ff5f16" title-active-color="#ff5f16">
      <van-tab name="pass" title="帐号登录">
        <LoginPass></LoginPass>
      </van-tab>
      <van-tab name="code" title="手机登录">
        <LoginCode></LoginCode>
      </van-tab>
    </van-tabs>
  </div>
</template>


<script>
import LoginPass from "./LgoinPass.vue";
import LoginCode from "./LoginCode.vue";
export default {
  components: {
    LoginPass,
    LoginCode,
  },
  name: "login",
  data() {
    return {
      active: "pass",
    };
  },
};
</script>